// [[ OnflowGenerator File UUID: bc9909245aa5419da50d7f90cf69ed90  ]]
package com.itdct.onflow.system.file.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.itdct.onflow.core.mapper.BaseMapper;
import com.itdct.onflow.core.vo.KeyLabelValueVo;
import com.itdct.onflow.system.file.entity.SysTransferCenterEntity;
import com.itdct.onflow.system.file.qo.SysTransferCenterSearchQo;
import com.itdct.onflow.system.file.vo.SysFileTransferCenterVo;
import com.itdct.onflow.system.file.vo.SysTransferCenterDetailVo;
import com.itdct.onflow.system.file.vo.SysTransferCenterListVo;

import org.apache.ibatis.annotations.Mapper;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * @author DCTANT
 * @date 2025-09-28 16:32:52
 * @version 1.0
 * @description 系统传输中心查询工具
 */
@Mapper
public interface SysTransferCenterMapper extends BaseMapper<SysTransferCenterEntity> {
    @Nullable
    SysTransferCenterDetailVo findById(Long id);

    @NotNull
    List<SysTransferCenterListVo> findByList(SysTransferCenterSearchQo qo);

    // [[ OnflowGenerator Range (- selectFunctions -) Start ]]
    @NotNull
    List<KeyLabelValueVo> selectNameList(SysTransferCenterSearchQo qo);

    @InterceptorIgnore(others = {"LOGIC_DELETE@true"})
    @NotNull List<SysFileTransferCenterVo> findAllFiles(@NotNull List<Long> transferCenterIds);

// [[ OnflowGenerator Range (- selectFunctions -) End ]]

}
